package com.teemor.tim.processor;

import com.teemor.tim.bean.result.message.MessageRecordResult;
import com.teemor.tim.model.message.StoreMessageWrapper;
import com.teemor.tim.model.search.MessageRecordSearch;

import java.util.List;

/**
 * @ename zhoulk
 * @cname 周李科
 * @date 2020/12/18 15:22
 */
public interface MessageProcessor {

    void storeMessage(StoreMessageWrapper messageWrapper);

    List<MessageRecordResult> getMessages(MessageRecordSearch search);
}
